package cn.bgs.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 包名称： cn.bgs.vo
 * 类名称：Livingexpenses
 *
 * 生活缴费vo类
 *
 * @author:陈峰 创建时间：2022/6/15/11:40
 */
@Data
public class Livingexpenses {

    @ApiModelProperty(value = "缴费类型表自增id")
    private Integer paymentTypeId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "类型（电费、水费等）")
    private String type;

    @ApiModelProperty(value = "金额")
    private Double money;

    @ApiModelProperty(value = " 收款方（公司）")
    private String payee;

    @ApiModelProperty(value = "账单名称")
    private String billName;

    @ApiModelProperty(value = "账单编号")
    private String billNumber;

    @ApiModelProperty(value = "收费周期")
    private String chargeCycle;

    @ApiModelProperty(value = "缴纳状态（待缴纳、已缴纳）")
    private String paymentState;

    @ApiModelProperty(value = "支付状态")
    private String payState;

    @ApiModelProperty(value = "支付方式")
    private String payWay;

    @DateTimeFormat(pattern = "yyyy-MM-dd ")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "支付时间")
    private LocalDateTime payTime;

    @ApiModelProperty(value = "支付单号")
    private String payNumber;
    @ApiModelProperty(value = "充值记录表自增id")
    private Integer topUpId;

    @ApiModelProperty(value = "充值单号")
    private String prepaidNumber;


    @DateTimeFormat(pattern = "yyyy-MM-dd ")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "充值时间")
    private LocalDateTime topUpTime;

    @ApiModelProperty(value = "缴费金额")
    private Double paymentAmount;

    @ApiModelProperty(value = "状态（未缴费、已缴费、缴费失败）")
    private Integer state;

    @ApiModelProperty(value = "微信支付")
    private String methodOfPayment;


    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "登录密码")
    private String passWord;

    @ApiModelProperty(value = "邮箱号")
    private String email;

    @ApiModelProperty(value = "住户编号")
    private String userNumber;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "与业主关系（本人、亲属、朋友、租户）")
    private String relationShip;

    @ApiModelProperty(value = "身份（业主、管理员） ")
    private String identity;

    @ApiModelProperty(value = "钱包余额")
    private Double balance;

    @DateTimeFormat(pattern = "yyyy-MM-dd ")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "注册时间")
    private LocalDateTime registrationTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "住户来源（默认app注册）")
    private String residentSource;

    @DateTimeFormat(pattern = "yyyy-MM-dd ")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
}
